package com.zrf.springCloudTest;

import com.zrf.springCloudTest.controller.ComputeController;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 消费者的应用启动器
 * @author zrf
 *         Created by zrf on 2016/8/27.
 */
@EnableDiscoveryClient
@SpringBootApplication
public class Application {

    /**
     * main方法
     * @param args 参数
     */
    public static void main(String[] args){
        new SpringApplicationBuilder(Application.class).web(true).run(args);
    }
}
